package com.chengxiaoxiao.libarypartner.utils;

import android.content.Context;

/**
 * @author XiaoXiao
 * @version $Rev$
 */

public class LoginUtils
{
    public static void setLoginStatusFalse(Context context)
    {
        SPUtils.putBoolean("isLogin",false , context);
    }

    public static void setLoginStatusTrue(Context context)
    {
        SPUtils.putBoolean("isLogin", true, context);
    }


    public static boolean getLoginStatus(Context context)
    {
        return SPUtils.getBoolean("isLogin", false, context);
    }


}
